From: Florian Müllner Date: Mon, 14 Sep 2020 14:58:53 +0000 (+0200) Subject: aggregateMenu: Move remote-access indicator to the front X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~661^2^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8ddaa851a489f80df857a9c0603c8b438326093f;p=gnome-shell.git aggregateMenu: Move remote-access indicator to the front It's best to not mix transient indicators with (probably) permanently visible items, so move the remote-access indicator (which also handles screencasts now) to the position of the old screen recorder icon. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1438 --- diff --git a/js/ui/panel.js b/js/ui/panel.js index 4761903f3..b168907de 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -740,6 +740,7 @@ class AggregateMenu extends PanelMenu.Button { this._nightLight = new imports.ui.status.nightLight.Indicator(); this._thunderbolt = new imports.ui.status.thunderbolt.Indicator(); + this._indicators.add_child(this._remoteAccess); this._indicators.add_child(this._thunderbolt); this._indicators.add_child(this._location); this._indicators.add_child(this._nightLight); @@ -747,7 +748,6 @@ class AggregateMenu extends PanelMenu.Button { this._indicators.add_child(this._network); if (this._bluetooth) this._indicators.add_child(this._bluetooth); - this._indicators.add_child(this._remoteAccess); this._indicators.add_child(this._rfkill); this._indicators.add_child(this._volume); this._indicators.add_child(this._power);